package net.xiduth.game.npc.combat.impl;

import net.xiduth.game.Entity;
import net.xiduth.game.npc.NPC;
import net.xiduth.game.npc.combat.CombatScript;
import net.xiduth.game.npc.combat.NPCCombatDefinitions;

/**
 * 
 * @author Jae <jae@xiduth.com>
 * 
 * Last modified: <Oct 17, 2013>
 *
 */
public class AgrithNaNaCombat extends CombatScript {
	
	@Override
	public Object[] getKeys() {
		return new Object[] { 3493 };
	}
	
	@Override
	public int attack(NPC npc, Entity target) {
		final NPCCombatDefinitions defs = npc.getCombatDefinitions();
				delayHit(npc, 0, target, getMeleeHit
						(npc, getRandomMaxHit(npc, defs.getMaxHit(), NPCCombatDefinitions.MELEE, target)));
				return 0;
	}

}
